package com.weixing.mall.provider.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.weixing.mall.provider.model.domain.ProjectInfo;
import com.weixing.mall.provider.model.query.ProductDevelopQuery;
import com.weixing.mall.provider.model.vo.ProjectInfoVo;
import com.weixing.mall.provider.model.vo.pdm.ProjectInfoDesignVo;
import com.weixing.mall.provider.model.vo.pdm.ProjectInfoProductionVo;
import com.weixing.mall.provider.model.vo.pdm.ProjectInfoPurchaseVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 产品研发产品信息表 Mapper 接口
 * </p>
 *
 * @author Small
 * @since 2019-11-18
 */
public interface ProjectInfoMapper extends BaseMapper<ProjectInfo> {

    IPage<ProjectInfoDesignVo> selectDesignList(@Param("pg") Page page, @Param("qs")ProductDevelopQuery productDevelopQuery);

    IPage<ProjectInfoVo> selectListOfPage(@Param("pg") Page page, @Param("qs")ProductDevelopQuery productDevelopQuery);

    IPage<ProjectInfoPurchaseVo> selectPurchaseList(@Param("pg") Page page, @Param("qs")ProductDevelopQuery productDevelopQuery);

    IPage<ProjectInfoProductionVo> selectProductionList(@Param("pg") Page page, @Param("qs")ProductDevelopQuery productDevelopQuery);
}